 begintownscript;
variables;
short choice,i;

body;
beginstate init_state;
i = 0;
while(char_ok(i) == 0){
	i = i + 1;
}
relocate_character(i,12,18);
set_character_facing(i,4);
force_view_center(12,18);
put_boom_on_char(i,2,0);
put_boom_on_char(6,2,0);
run_animation_sound(10);
pause(3);
message_dialog("Solid ground has never felt so good. Teleportation isn't a fun experience, and not one I'd like to try again.","It had worked, though. We were standing in a clearing in the woods, just a short distance south of Cigosal. The city walls could be seen over the trees to the north.");
message_dialog("Emery was wandering around the clearing with a look of wonderment on his face. I kind of wondered if the teleportation had somehow turned him daft.","");
set_name(6,"Emery");
set_char_dialogue_pic(6,303,0);
break;

beginstate exit_state;
break;

beginstate start_state;
break;

beginstate 10;
reset_dialog();
add_dialog_str(0,"And that's how I wound up here, without a job or a coin to my name. I've been thinking a man with my skills might find a better job. One without so many brushes with death-- I had a few to many of those during my years with the Silver Steed.",0);
add_dialog_str(1,"So that's it-- I told you it'd be worth your drinking money. If you you've heard a wilder tale I'd be deeply impressed, and if I never experience anything like it again I'll die a happy man.",0);
add_dialog_choice(0,"Well thanks for telling me about it.");
choice = run_dialog(1);
set_flag(250,1,2);
move_to_new_town(31,16,21);
break;

beginstate 100;
block_entry(1);
break;